package com.spring.student.welcome;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class WelconeTest {
    public static void main(String[]args){
        ApplicationContext context;
        context = new ClassPathXmlApplicationContext("welcome.xml");
        Welcome welcome = (Welcome)context.getBean("welcome");
        welcome.show();

    }
}
